package com.lenovo.leos.letools.utils;

public class Constants {

	public static final String PROXYDNS = "10.99.60.91";
	public static final int PROXYPORT = 8080;
	
	public static final String DNS = "https://www.vips100.com/";
	
	
	/** 登录 **/
	public static final String LENOVODATA_LOGIN = "https://www.vips100.com/account/loginnorandom/";
	/** 获得网盘空间使用情况 **/
	public static final String LENOVODATA_GETSPACE = "https://www.vips100.com/account/getspace/";
	
	
	/** 列出指定文件下所有子文件夹信息 及 文件个数 **/
	public static final String LENOVODATA_DIR_LIST = "https://www.vips100.com/directory/listandcount/";
	/** 在指定文件下创建一个文件夹 **/
	public static final String LENOVODATA_DIR_CREATE= "https://www.vips100.com/directory/create/";
	/** 删除指定文件夹 **/
	public static final String LENOVODATA_DIR_DELETE = "https://www.vips100.com/directory/delete/";
	/** 重命名文件夹 **/
	public static final String LENOVODATA_DIR_RENAME = "https://www.vips100.com/directory/rename/";
	/** 移动文件夹 **/
	public static final String LENOVODATA_DIR_MOVE = "https://www.vips100.com/directory/move/";

	

	/** 列出指定文件下所有文件信息 **/
	public static final String LENOVODATA_FILE_LIST = "https://www.vips100.com/file/listrandom/";
	/** 删除指定文件 **/
	public static final String LENOVODATA_FILE_DELETE = "https://www.vips100.com/file/delete/";
	/** 重命名文件 **/
	public static final String LENOVODATA_FILE_RENAME = "https://www.vips100.com/file/rename/";
	/** 移动文件 **/
	public static final String LENOVODATA_FILE_MOVE = "https://www.vips100.com/file/move/";
	
	
	/** 预上传文件 **/
	public static final String LENOVODATA_FILE_PROUPLOAD = "https://www.vips100.com/file/preupload/";
	/** 上传文件 **/
	public static final String LENOVODATA_FILE_UPLOAD = "https://f1-e5.vips100.com/file/uploadblock/";
	/** 上传文件结束 **/
	public static final String LENOVODATA_FILE_UPLOADOVER = "https://www.vips100.com/file/uploadover/";
	
	/** 预下载文件 **/
	public static final String LENOVODATA_FILE_PRODOWNLOAD = "https://www.vips100.com/file/predownloadnoredirect/";
	/** 下载文件 **/
	public static final String LENOVODATA_FILE_DOWNLOAD = "https://f1-e5.vips100.com/file/download/";
	
	
	/**
	 * 预上传非正确返回值
	 */
	/** 空间已满 **/
	public static final String STATE_PREUPLOAD_SPACEFULLED = "-1";
	/** 文件超过文件尺寸限制 **/
	public static final String STATE_PREUPLOAD_FILESIZEMORELENGTH = "-2";
	/** 文件名无效 **/
	public static final String STATE_PREUPLOAD_INVALIDFILENAME = "-3";
	/** 文件名已经存在 **/
	public static final String STATE_PREUPLOAD_FILEEXISTED = "-4";
	
	/**
	 * 异常信息定义
	 */
	/** 网络异常 **/
	public static final int NETEXCEPTION = -3;
	
	
	/**
	 * 表filedownlog和fileuplog中字段对应的值
	 */
	/** 表中字段isover对应的值  1表示下载完成  0未完成**/
	public static final int loadover_no = 0;
	public static final int loadover_yes = 1;
	/** 表中字段isloading对应的值 1表示正在执行下载  0未正在执行下载 **/
	public static final int isloading_no = 0;
	public static final int isloading_yes = 1;
}
